package com.goldgov.branchCircle.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.goldgov.branchCircle.dao.MessageDao;
import com.goldgov.branchCircle.service.Message;
import com.goldgov.branchCircle.service.MessageService;
@Service
public class MessageServiceImpl implements MessageService{

	@Autowired
	private MessageDao messageDao;

	@Override
	public void addMessage(Message message) {
		messageDao.addMessage(message);
	}

	@Override
	public List<Message> getMessageList(String branchID) {
		return messageDao.getMessageList(branchID);
	}

	/** 
	 * @Description: TODO
	 * @author hanxiangyu
	 * @date 2018年9月18日 上午10:08:51 
	 */
	@Override
	public Message getMessageById(String messageID) {
		return messageDao.getMessageById(messageID);
	}
	

}
